	package com.scoring.system.mapper;

import java.util.List;

import com.scoring.system.pojo.Course;

public interface CourseMapper {
    int deleteByPrimaryKey(Integer id);
    
    int softDelete(Integer id);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer id);
    
    Course selectByCode(String code);
    
    Course selectByName(String name);
    
    List<Course> listCourseByColleageId(Integer colleageId);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
}